Observer

public interface Observer<T extends Event>

A common interface for all event observers.

Parameters

<T>

the event type

Functions

Link copied to clipboard
public abstract void on(T event)
Invoked when the event occurred.